# coding: utf8

__author__ = 'tony'

from django.conf.urls import url, patterns
from django.contrib import admin
from umeng_tool.analyse import views, restful

admin.autodiscover()

urlpatterns = patterns('',
	url(r'^$', views.main, name='analyse.views.main'),
)

urlpatterns += patterns('',

	url(r'^scheduler/new/$', restful.new_event, name='analyse.restful.new_event'),
	url(r'^scheduler/create/(?P<count>\d+)/$', restful.new_event, name='analyse.restful.create_event'),
	url(r'^scheduler/keep/$', restful.keep_event, name='analyse.restful.keep_event'),
	url(r'^scheduler/login/$', restful.login_event, name='analyse.restful.login_event'),
)

